package com.gk.springauth2auth.service;

import com.gk.springauth2auth.entity.RoleDO;

/**
 * 角色表接口
 * @Author: poison
 * @Date: 2020/10/18 0:24
 */
public interface RoleService {

    /**
     * 通过用户id查询角色信息
     * @return
     */
    RoleDO loadRoleByUserId(int userId);
}
